package com.stxx;
import lombok.extern.slf4j.Slf4j;
import org.noear.solon.Solon;
import org.noear.solon.annotation.SolonMain;
import org.noear.solon.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SolonMain
@Slf4j
public class AppApplication {
    public static void main(String[] args) {
        //apiJson 启动debug模式

        Solon.start(AppApplication.class, args,app->{
            log.info("==========================version:1.0=========================");
            app.enableWebSocket(true);
        });

    }
}
